package com.bidevalution.dao.mapper;

import com.bidevalution.dao.entity.BeSectionWarnMsg;
import com.bidevalution.dao.entity.ExpertWarnMsgVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BeSectionWarnMsgMapper {
    int deleteByPrimaryKey(String seqId);

    int insert(BeSectionWarnMsg record);

    int insertSelective(BeSectionWarnMsg record);

    BeSectionWarnMsg selectByPrimaryKey(String seqId);

    int updateByPrimaryKeySelective(BeSectionWarnMsg record);

    int updateByPrimaryKey(BeSectionWarnMsg record);

    List<BeSectionWarnMsg> getBeSBeSectionWarnMsgList(@Param("sectionStepId")String sectionStepId, @Param("status") int status, @Param("expertId")String expertId);

    int handleWarnMsg(BeSectionWarnMsg record);

    List<ExpertWarnMsgVo> getExpertWarnMsg(@Param("sectionStepId")String sectionStepId, @Param("sectionId")String sectionId, @Param("submitCode")String submitCode);

    int updateStatus(BeSectionWarnMsg record);

    List<BeSectionWarnMsg> getMsgByRemark(@Param("sectionId")String sectionId, @Param("remark")String remark);

    int overdueMag(String sectionStepId);
}
